/*
************************************************************************************
  * @author  ZLP
  * @version 1.0
  * @date    2024.1.15
************************************************************************************
*/

#include "Console_dri.h"

CONSEL_INFO Conse_Info = {0,0};
bool flag = false;

void Console_Recive(u8 ch)
{
	if(ch != '\n')
	{
		Conse_Info.Arry[Conse_Info.flage] = (char)ch;
		Conse_Info.flage++;
	}else
	{
		Conse_Info.Arry[Conse_Info.flage] = '\r';
		printf("\r\nshell>>");
    flag = true;
		Conse_Info.flage = 0;
	}
}
